package com.smfx.yxt.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.smfx.yxt.daoSqlserver.SysDictTypeMapper;
import com.smfx.yxt.model.SysDictType;
import com.smfx.yxt.service.ISysDictTypeService;

@Service("sysDictTypeService")
public class SysDictTypeServiceImpl implements ISysDictTypeService {

	@Autowired
	private SysDictTypeMapper sysDictTypeMapper;
	
	@Override
	public int insertSelective(SysDictType record) {
		return sysDictTypeMapper.insertSelective(record);
	}

	@Override
	public SysDictType selectByPrimaryKey(Integer id) {
		return sysDictTypeMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(SysDictType record) {
		return sysDictTypeMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public List<SysDictType> selectListForParam(SysDictType record) {
		return sysDictTypeMapper.selectListForParam(record);
	}

	@Override
	public int selectCountByDictCode(String dictCode) {
		return sysDictTypeMapper.selectCountByDictCode(dictCode);
	}

}
